local extension = Package:new("hanqing_tieba")
extension.extensionName = "hanqing"

extension:loadSkillSkelsByPath("./packages/hanqing/pkg/hanqing_tieba/skills")

Fk:loadTranslationTable{
  ["hanqing_tieba"] = "汗青·吧赛",
}

General:new(extension, "tianwen", "qi", 3, 4):addSkills { "hanqing__quzong", "hanqing__shiyi", "hanqing__zhenxi" }
Fk:loadTranslationTable{
  ["tianwen"] = "田文",
  ["#tianwen"] = "孟尝君",
  ["illustrator:tianwen"] = "有硬币有果",
  ["designer:tianwen"] = "拉普拉斯",
}

General:new(extension, "huangxie", "chu", 4):addSkills { "hanqing__yilve", "hanqing__xunyi" }
Fk:loadTranslationTable{
  ["huangxie"] = "黄歇",
  ["#huangxie"] = "春申君",
  ["illustrator:huangxie"] = "有硬币有果",
  ["designer:huangxie"] = "拉普拉斯",
}

General:new(extension, "zhaosheng", "zhao", 3):addSkills { "hanqing__qianche", "hanqing__choufeng" }
Fk:loadTranslationTable{
  ["zhaosheng"] = "赵胜",
  ["#zhaosheng"] = "平原君",
  ["illustrator:zhaosheng"] = "黄球球",
  ["designer:zhaosheng"] = "yyuaN",
}

General:new(extension, "weiwuji", "wei", 4):addSkills { "hanqing__huimei" }
Fk:loadTranslationTable{
  ["weiwuji"] = "魏无忌",
  ["#weiwuji"] = "信陵君",
  ["illustrator:weiwuji"] = "不爱吃&有硬币有果",
  ["designer:weiwuji"] = "易大剧",
  ["cv:weiwuji"] = "易大剧",

  ["~weiwuji"] = "有愧于魏，无功于赵……不敢与闻国事。",
}

local godwangjian = General:new(extension, "godwangjian", "god", 4)
godwangjian:addSkills { "hanqing__yunyong", "hanqing__manlou", "hanqing__juexi" }
godwangjian.endnote = "<br><font color='grey' size = 2>黑云塞空万马屯，狂风疾雷撼乾坤。<br>——陆游"
Fk:loadTranslationTable{
  ["godwangjian"] = "神王翦",
  ["#godwangjian"] = "猋起云合",
  ["illustrator:godwangjian"] = "阿良良良",
  ["designer:godwangjian"] = "续约",
  ["cv:godwangjian"] = "花落",

  ["~godwangjian"] = "风，风，大风……",
  ["!godwangjian"] = "风行四海，豚鱼服信；混一车书，远安迩肃。",
}

local tiandi = General:new(extension, "if__tiandi", "qi", 4)
tiandi:addSkills { "hanqing__pianxi", "hanqing__pizhi", "hanqing__tunmeng", "hanqing__lingjue" }
tiandi.endnote = "<br><font color='grey' size = 2>“唯蝼蚁祈求所谓的合纵连横，燕楚韩魏秦不外如是。”"
Fk:loadTranslationTable{
  ["if__tiandi"] = "田地",
  ["#if__tiandi"] = "齐始皇",
  ["illustrator:if__tiandi"] = "美术生啊",
  ["designer:if__tiandi"] = "食马者",
}

General:new(extension, "likui", "wei", 3):addSkills { "hanqing__diaoli", "hanqing__jidian" }
Fk:loadTranslationTable{
  ["likui"] = "李悝",
  ["#likui"] = "肇制垂宪",
  ["illustrator:likui"] = "有硬币有果",
  ["designer:likui"] = "猪",
}

--General:new(extension, "hanqing__shangyang", "qin", 4):addSkills { "hanqing__limu", "hanqing__dingfa" }
Fk:loadTranslationTable{
  ["hanqing__shangyang"] = "商鞅",
  ["#hanqing__shangyang"] = "鼎法革世",
  ["illustrator:hanqing__shangyang"] = "黄球球",
  ["designer:hanqing__shangyang"] = "o.O",

  ["hanqing__dingfa"] = "定法",
  [":hanqing__dingfa"] = "变革技，每轮开始时，你可以洗切一名角色的手牌并将《商君书》置入其手牌区中央。",
  ["shangyang_book"] = "商君书",
  [":shangyang_book"] = "律<br/>"..
  "<b>效果</b>：你不能整理手牌；<br>"..
  "以此牌为中线，当你使用任意一侧的手牌时，若该侧牌数：<br>"..
  "较多，你将牌堆顶两张牌置入较少侧并令此牌无效；<br>"..
  "较少，你弃置较多侧的一张牌并令此牌多结算一次。",
}

--local shenbuhai = General:new(extension, "shenbuhai", "qin", 4)
--shenbuhai:addSkills { "hanqing__yinshu", "hanqing__mingfa", "hanqing__yizheng" }
--shenbuhai.endnote = "<br><font color='grey' size = 2>终申子之身国治兵强，无侵韩者。——司马迁"
Fk:loadTranslationTable{
  ["shenbuhai"] = "申不害",
  ["#shenbuhai"] = "籍术御极",
  ["illustrator:shenbuhai"] = "TDynasty",
  ["designer:shenbuhai"] = "RE",

  ["hanqing__yinshu"] = "隐术",
  [":hanqing__yinshu"] = "<a href='hanqing_reform_skill'>变革技</a>，出牌阶段，你可以明置至多X张牌，令等量名角色依次弃置一张牌并"..
  "获得一张《申子》，然后这些角色可以暗置你的一张牌并令你摸一张牌（X为剩余《申子》数）。",
  ["hanqing__mingfa"] = "明法",
  [":hanqing__mingfa"] = "游戏外的《申子》变为两张后，你可以明置一张牌，然后翻转〖易政〗中阳与阴的对应效果。",
  ["hanqing__yizheng"] = "易政",
  [":hanqing__yizheng"] = "其他角色失去过《申子》的回合结束后，若《申子》为阳/阴状态，你可以令其失去1点体力/摸一张牌。",
  ["shenbuhaig_book"] = "申子",
  [":shenbuhai_book"] = "律<br/>"..
  "<b>效果</b>：阳：若申不害有明置牌，你可以将此牌当其中一张使用或打出。<br>"..
  "阴：若申不害没有明置牌，此牌视为【杀】，且可以指定申不害攻击范围内的角色为目标。",
}

local godshangyang = General:new(extension, "godshangyang", "god", 5)
godshangyang:addSkills { "hanqing__gujie", "hanqing__dunie", "hanqing__duoye" }
godshangyang.endnote = "<br><font color='grey' size = 2>谁看青简一编书，不遣花虫粉空蠹。<br>——李贺"
Fk:loadTranslationTable{
  ["godshangyang"] = "神商鞅",
  ["#godshangyang"] = "断魂之狴犴",
  ["illustrator:godshangyang"] = "美术生啊",
  ["designer:godshangyang"] = "食饿不赦",
}

General:new(extension, "shendao", "qi", 3):addSkills { "hanqing__faheng", "hanqing__chushi" }
Fk:loadTranslationTable{
  ["shendao"] = "慎到",
  ["#shendao"] = "钧势以断",
  ["illustrator:shendao"] = "哥达耀",
  ["designer:shendao"] = "yyuaN",
}

return extension
